import Mock from 'mockjs'

let params =  Mock.mock({ // 数据池
  "meta":{
    "status":200,
    "msg":"获取教师列表成功",
  },
  "data":{
    "pagenum":"1",
    "total":5,
    "users|1-30":[
      {
        "create_time": "1486720211",
        "email":"admin@163.com",
        "id":"500",
        "mg_state":true,
        "mobile":"13788888999",
        "name":"诸葛亮",
        "college":"工学院",
        "teacherId":"202010561688",
        "idNumber":"440111199808281688"
      },
      {
        "create_time": "1630925996",
        "email":"1556341268@qq.com",
        "id":"1147",
        "mg_state":false,
        "mobile":"18857488995",
        "name":"刘备",
        "college":"会计学院",
        "teacherId":"202110541333",
        "idNumber":"440111199408281333"
      }
    ]
  }
})

export default {
  getTeacherList: () => ({
    data:params.data,
    meta:params.meta
  })
}

